#!/bin/sh
#
# Author ： hbaolong@vip.qq.com
#
# Function : dash，是阅读中的一种批注，通过记录一段或者几段文字的核心来协助快速了解文章、书籍。
#
#
#

if [ $# -ne 0 ]; then
	echo "Usage: you should just run this in a book dictory."
	exit
fi


if [ ! -e config ]; then
	echo "not a book dictory."
	exit -1
fi

source config

grep -e "^#### " -e "^-" -e ">>" $tag*.md |sed -e "s/.*md://g" |awk '{ print $0 "\n"}'
